package com.zhijian.warehouse.manage.entity.po;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;
import javax.validation.constraints.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 入库产品明细表
 * @author Auto Generator
 * @date 2024-10-20 22:23:13
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Api(tags = "入库产品明细表")
public class StoreRecordProduct {
    /**
     * 主键ID
     */
    @ApiModelProperty("主键ID")
    private Long id;

    /**
     * 入库单ID
     */
    @ApiModelProperty("入库单ID")
    @NotNull(message = "入库单ID不能为空")
    private Long storeRecordId;

    /**
     * 产品ID
     */
    @ApiModelProperty("产品ID")
    @NotNull(message = "产品ID不能为空")
    private Long productId;

    /**
     * 入库数目
     */
    @ApiModelProperty("入库数目")
    @NotNull(message = "入库数目不能为空")
    private BigDecimal storeCount;

    /**
     * 仓库ID
     */
    @ApiModelProperty("仓库ID")
    @NotNull(message = "仓库ID不能为空")
    private Long warehouseId;

    /**
     * 库位ID
     */
    @ApiModelProperty("库位ID")
    @NotNull(message = "库位ID不能为空")
    private Long warehouseLocationId;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date createTime;

    /**
     * 修改时间
     */
    @ApiModelProperty("修改时间")
    private Date updateTime;
}